package com.shmn.gongjiajumain.service.impl;

import com.shmn.gongjiajumain.vo.people.PeopleTableVo;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shmn.common.utils.PageUtils;
import com.shmn.common.utils.Query;

import com.shmn.gongjiajumain.dao.CnEnDao;
import com.shmn.gongjiajumain.entity.CnEnEntity;
import com.shmn.gongjiajumain.service.CnEnService;


@Service("cnEnService")
public class CnEnServiceImpl extends ServiceImpl<CnEnDao, CnEnEntity> implements CnEnService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CnEnEntity> page = this.page(
                new Query<CnEnEntity>().getPage(params),
                new QueryWrapper<CnEnEntity>()
        );


        return new PageUtils(page);
    }

}